Improve the docs
authorMatthias Clasen <mclasen@redhat.com>
Wed, 29 Nov 2017 03:52:44 +0000 (22:52 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 29 Nov 2017 03:56:11 +0000 (22:56 -0500)
Document that gtk_application_is_inhibited can't
be guaranteed to work.

gtk/gtkapplication.c

index 487158b31c4a0855fe6ba34de1654aa31de9ec13..15378d17e23c22dee2c04ba276b3686a8fcc2446 100644 (file)
@@ -1237,6 +1237,9 @@ gtk_application_uninhibit (GtkApplication *application,
  * Determines if any of the actions specified in @flags are
  * currently inhibited (possibly by another application).
  *
+ * Note that this information may not be available (for example
+ * when the application is running in a sandbox).
+ *
  * Returns: %TRUE if any of the actions specified in @flags are inhibited
  *
  * Since: 3.4